﻿<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
	{include file='export-head' /}
<title>excel内容</title>
</head>
<body>
<div class="page-container">
	<form action="{:url('admin/Index/saveDatas')}" method="post">
	<table class="table table-border table-bordered table-bg">
		{volist name="data_arr" key='k' id="row"}
		{if condition="$k eq 1"}
		<tr>
			{volist name="row" id='cell'}
		<th colspan="6" scope="col" class="text-c">{$cell}</th>
			{/volist}
		</tr>
		{elseif condition="$k eq 2" /}
		<tr class="text-c">
			{volist name="row" id='cell'}
			<th>{$cell}</th>
			{/volist}
		</tr>
		{elseif condition="$k eq 3" /}
		<tr class="text-c">
		{volist name="row" id='cell'}
			<td>
				{$cell}
			</td>
			{/volist}
			</tr>
		{elseif condition="$k eq 4" /}
		<tr class="text-c">
			{volist name="row" id='cell' key='j'}
			<td class="std">
				<select class="select" id="" name="ohead{$j}">
					<option value="0">订单信息</option>
					{volist name='headFields' key='h' id='hfield'}
					<option value="{$hfield}">{$hfield}</option>
					{/volist}
				</select>
				<select class="select" id="" name="olist{$j}">
					<option value="0">订单商品信息</option>
					{volist name='listFields' key='l' id='lfield'}
					<option value="{$lfield}">{$lfield}</option>
					{/volist}
				</select>
			</td>
			{/volist}
		</tr>
		{/if}
		{/volist}
	</table>
		<input type="submit" value="提交">
	</form>
</div>
<!--<footer class="footer mt-20">-->
	<!--<div class="container">-->

	<!--</div>-->
<!--</footer>-->
<script type="text/javascript" src="__PUBLIC__/lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/static/h-ui/js/H-ui.min.js"></script>

<script>
$(document).ready(function () {
	$('.std').on('change','select',function () {
		$(this).siblings('select').attr('disabled','disabled');
    })
});
</script>

</body>
</html>